/**
 * Project Name:fire-industry-DM-center
 * File Name:GrantedAuthorityImpl.java
 * Package Name:com.firestone.service.user.impl
 * Date:2018年3月22日下午2:17:13
 *
*/

package com.firestone.service.user.impl;

import org.springframework.security.core.GrantedAuthority;

/**
 * @Description: TODO(权限类型，负责存储权限和角色)
 * @author CAIYJ
 * @date 2018年3月22日 下午2:17:13
 */
public class GrantedAuthorityImpl implements GrantedAuthority {

    private static final long serialVersionUID = 721862011511001381L;
    
    private String authority;

    public GrantedAuthorityImpl(String authority) {
        this.authority = authority;
    }

    public void setAuthority(String authority) {
        this.authority = authority;
    }

    @Override
    public String getAuthority() {
        return this.authority;
    }

}
